<?php 

include "scripts/connectDB.php";

$result = mysql_query("SELECT * FROM files ORDER BY file_id DESC LIMIT 4");


echo "<table class='liten' border='0' cellpadding='0' cellspacing='3'>
<tr>
<th width='105px'>Downloads</th>
</tr>
</table>";

while($row = mysql_fetch_array($result))

  {
  echo "<table class='liten' border='0' cellpadding='0' cellspacing='3'>";
  echo "<tr>";
  echo "<td width='8'>" . $row['file_id'] . "</td>";
  echo "<td>" . $row['filename'] . "</td>";
  echo "</tr>";
  echo "</table>";
  }


mysql_close($con);
?>

